package vivo;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Scanner;

public class linklist {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        ArrayList<Integer> result = new ArrayList<>();

        int count = sc.nextInt();

        while(sc.hasNext()){
            int current =sc.nextInt();
            result.add(current);
        }
        Object[] objects = result.toArray();
        Arrays.sort(objects);
        for (Object o : objects) {
            System.out.println(o);
        }
        sc.close();
    }
}